package com.tsc.design.strategyMode.example;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: chentl
 * @Date: 2025/09/17/20:57
 * @Description:
 */
public class WechatPayment implements PaymentStrategy{

    private String account;

    public WechatPayment(String account) {
        this.account = account;
    }

    @Override
    public void pay(int amount){
        System.out.println("微信支付：" + amount);
        System.out.println("微信账号：" + account);
    }
}
